<html>
<head><meta charset="utf-8"><title>206 range responses · t-infra · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/index.html">t-infra</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html">206 range responses</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209422581"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209422581" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209422581">(Sep 08 2020 at 18:02)</a>:</h4>
<p><span class="user-mention" data-user-id="121055">@Pietro Albini</span> I'm not too confident this will be fixed soon based on that last message that they have been working on this since early August. Would you recommend that we rush a fix for Cargo to handle the 206 response?</p>



<a name="209427088"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209427088" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209427088">(Sep 08 2020 at 18:42)</a>:</h4>
<p>How could we fix it in cargo?</p>



<a name="209427529"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209427529" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209427529">(Sep 08 2020 at 18:45)</a>:</h4>
<p><span class="user-mention" data-user-id="120179">@Eh2406</span> I'm not entirely sure, but I think adding a check for 206 around <a href="https://github.com/rust-lang/cargo/blob/99134aee3911e7aafeeb645a9d47a7d2e984e2eb/crates/crates-io/lib.rs#L342">here</a>, and also check that the entire file was downloaded.</p>



<a name="209427845"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209427845" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209427845">(Sep 08 2020 at 18:48)</a>:</h4>
<p>Or, hm, actually <a href="https://github.com/rust-lang/cargo/blob/99134aee3911e7aafeeb645a9d47a7d2e984e2eb/src/cargo/core/package.rs#L778">here</a>.</p>



<a name="209428962"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209428962" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209428962">(Sep 08 2020 at 18:57)</a>:</h4>
<p>I guess I misunderstood the situation. So it is returning the full file, it is just telling us that there is more to come?</p>



<a name="209429214"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209429214" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209429214">(Sep 08 2020 at 18:59)</a>:</h4>
<p>Correct. It is returning a "range" response with then entire range of the file.</p>



<a name="209430127"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209430127" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209430127">(Sep 08 2020 at 19:07)</a>:</h4>
<p>Ahhh. Makes sense. Ok. Sorry for the noize.</p>



<a name="209431319"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209431319" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209431319">(Sep 08 2020 at 19:16)</a>:</h4>
<p>will think about this in a bit, a bit busy right now</p>



<a name="209432580"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209432580" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209432580">(Sep 08 2020 at 19:26)</a>:</h4>
<p>switched to price class 100</p>



<a name="209432606"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209432606" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209432606">(Sep 08 2020 at 19:27)</a>:</h4>
<p>latency is going to be worse for a bit but it's better than having broken responses</p>



<a name="209432617"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209432617" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209432617">(Sep 08 2020 at 19:27)</a>:</h4>
<p><span class="user-mention" data-user-id="120518">@Eric Huss</span></p>



<a name="209433861"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209433861" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209433861">(Sep 08 2020 at 19:38)</a>:</h4>
<p>ok.  Oh, I think I misread their response.  The bug has maybe been fixed?  "is expected to be rolled back worldwide by September 7th" is a bit confusing since that was yesterday.   I thought they meant they rolled back the fix.</p>



<a name="209434028"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209434028" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209434028">(Sep 08 2020 at 19:39)</a>:</h4>
<p><span class="user-mention" data-user-id="120518">@Eric Huss</span> yeah, they said they expected it to be fixed by yesterday, but we got a report this was still happening today</p>



<a name="209434042"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209434042" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209434042">(Sep 08 2020 at 19:39)</a>:</h4>
<p>so just to be sure I switched to price class 100</p>



<a name="209434179"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209434179" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209434179">(Sep 08 2020 at 19:40)</a>:</h4>
<p>yea, weird.  I guess it depends on which time zone they are talking in, and which timezone the users reporting it are in.  Well, hopefully it will clear up for now.</p>



<a name="209434226"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209434226" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209434226">(Sep 08 2020 at 19:41)</a>:</h4>
<p>yeah did an invalidation and a price class change</p>



<a name="209434235"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209434235" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209434235">(Sep 08 2020 at 19:41)</a>:</h4>
<p>it's easy enough to roll it back anyway</p>



<a name="209434251"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209434251" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209434251">(Sep 08 2020 at 19:41)</a>:</h4>
<p>cool, thanks for helping!</p>



<a name="209434264"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209434264" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209434264">(Sep 08 2020 at 19:41)</a>:</h4>
<p>no worries, thanks for reporting this to me!</p>



<a name="209441416"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209441416" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209441416">(Sep 08 2020 at 20:40)</a>:</h4>
<p><span class="user-mention" data-user-id="120518">@Eric Huss</span> we might want to do <a href="https://github.com/rust-lang/cargo/issues/8691">https://github.com/rust-lang/cargo/issues/8691</a> though</p>



<a name="209441477"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209441477" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209441477">(Sep 08 2020 at 20:41)</a>:</h4>
<p>sounds like a good idea!</p>



<a name="209441530"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209441530" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209441530">(Sep 08 2020 at 20:42)</a>:</h4>
<p>i'm trying to think if showing <em>all</em> headers might possibly leak sensitive data, but I can't think of any</p>



<a name="209441663"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209441663" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209441663">(Sep 08 2020 at 20:42)</a>:</h4>
<p>I guess it could with alternate registries</p>



<a name="209441685"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209441685" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209441685">(Sep 08 2020 at 20:43)</a>:</h4>
<p>it definitely shouldn't with <a href="http://crates.io">crates.io</a></p>



<a name="209499744"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/206%20range%20responses/near/209499744" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/206.20range.20responses.html#209499744">(Sep 09 2020 at 11:41)</a>:</h4>
<p>reverted back to "price class all" now that aws reported they routed our traffic away from mumbai</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>